Optimal. Leaf size=588 \[ -\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h (h x)^{3/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{h^2 \sqrt{h x}}-\frac{\sqrt{2} b e^{3/4} f p \log \left (-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{3 d^{3/4} h^{5/2}}+\frac{\sqrt{2} b e^{3/4} f p \log \left (\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{3 d^{3/4} h^{5/2}}-\frac{2 \sqrt{2} b e^{3/4} f p \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{3 d^{3/4} h^{5/2}}+\frac{2 \sqrt{2} b e^{3/4} f p \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}+1\right )}{3 d^{3/4} h^{5/2}}+\frac{\sqrt{2} b \sqrt [4]{e} g p \log \left (-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{\sqrt [4]{d} h^{5/2}}-\frac{\sqrt{2} b \sqrt [4]{e} g p \log \left (\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{\sqrt [4]{d} h^{5/2}}-\frac{2 \sqrt{2} b \sqrt [4]{e} g p \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{\sqrt [4]{d} h^{5/2}}+\frac{2 \sqrt{2} b \sqrt [4]{e} g p \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}+1\right )}{\sqrt [4]{d} h^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.74087, antiderivative size = 588, normalized size of antiderivative = 1., number of steps used = 23, number of rules used = 10, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.345, Rules used = {2467, 2476, 2455, 211, 1165, 628, 1162, 617, 204, 297} \[ -\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h (h x)^{3/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{h^2 \sqrt{h x}}-\frac{\sqrt{2} b e^{3/4} f p \log \left (-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{3 d^{3/4} h^{5/2}}+\frac{\sqrt{2} b e^{3/4} f p \log \left (\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{3 d^{3/4} h^{5/2}}-\frac{2 \sqrt{2} b e^{3/4} f p \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{3 d^{3/4} h^{5/2}}+\frac{2 \sqrt{2} b e^{3/4} f p \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}+1\right )}{3 d^{3/4} h^{5/2}}+\frac{\sqrt{2} b \sqrt [4]{e} g p \log \left (-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{\sqrt [4]{d} h^{5/2}}-\frac{\sqrt{2} b \sqrt [4]{e} g p \log \left (\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}+\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x\right )}{\sqrt [4]{d} h^{5/2}}-\frac{2 \sqrt{2} b \sqrt [4]{e} g p \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{\sqrt [4]{d} h^{5/2}}+\frac{2 \sqrt{2} b \sqrt [4]{e} g p \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}+1\right )}{\sqrt [4]{d} h^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2467
Rule 2476
Rule 2455
Rule 211
Rule 1165
Rule 628
Rule 1162
Rule 617
Rule 204
Rule 297
Rubi steps
\begin{align*} \int \frac{(f+g x) \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{(h x)^{5/2}} \, dx &=\frac{2 \operatorname{Subst}\left (\int \frac{\left (f+\frac{g x^2}{h}\right ) \left (a+b \log \left (c \left (d+\frac{e x^4}{h^2}\right )^p\right )\right )}{x^4} \, dx,x,\sqrt{h x}\right )}{h}\\ &=\frac{2 \operatorname{Subst}\left (\int \left (\frac{f \left (a+b \log \left (c \left (d+\frac{e x^4}{h^2}\right )^p\right )\right )}{x^4}+\frac{g \left (a+b \log \left (c \left (d+\frac{e x^4}{h^2}\right )^p\right )\right )}{h x^2}\right ) \, dx,x,\sqrt{h x}\right )}{h}\\ &=\frac{(2 g) \operatorname{Subst}\left (\int \frac{a+b \log \left (c \left (d+\frac{e x^4}{h^2}\right )^p\right )}{x^2} \, dx,x,\sqrt{h x}\right )}{h^2}+\frac{(2 f) \operatorname{Subst}\left (\int \frac{a+b \log \left (c \left (d+\frac{e x^4}{h^2}\right )^p\right )}{x^4} \, dx,x,\sqrt{h x}\right )}{h}\\ &=-\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h (h x)^{3/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{h^2 \sqrt{h x}}+\frac{(8 b e g p) \operatorname{Subst}\left (\int \frac{x^2}{d+\frac{e x^4}{h^2}} \, dx,x,\sqrt{h x}\right )}{h^4}+\frac{(8 b e f p) \operatorname{Subst}\left (\int \frac{1}{d+\frac{e x^4}{h^2}} \, dx,x,\sqrt{h x}\right )}{3 h^3}\\ &=-\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h (h x)^{3/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{h^2 \sqrt{h x}}+\frac{(4 b e f p) \operatorname{Subst}\left (\int \frac{\sqrt{d} h-\sqrt{e} x^2}{d+\frac{e x^4}{h^2}} \, dx,x,\sqrt{h x}\right )}{3 \sqrt{d} h^4}+\frac{(4 b e f p) \operatorname{Subst}\left (\int \frac{\sqrt{d} h+\sqrt{e} x^2}{d+\frac{e x^4}{h^2}} \, dx,x,\sqrt{h x}\right )}{3 \sqrt{d} h^4}-\frac{\left (4 b \sqrt{e} g p\right ) \operatorname{Subst}\left (\int \frac{\sqrt{d} h-\sqrt{e} x^2}{d+\frac{e x^4}{h^2}} \, dx,x,\sqrt{h x}\right )}{h^4}+\frac{\left (4 b \sqrt{e} g p\right ) \operatorname{Subst}\left (\int \frac{\sqrt{d} h+\sqrt{e} x^2}{d+\frac{e x^4}{h^2}} \, dx,x,\sqrt{h x}\right )}{h^4}\\ &=-\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h (h x)^{3/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{h^2 \sqrt{h x}}-\frac{\left (\sqrt{2} b e^{3/4} f p\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h}}{\sqrt [4]{e}}+2 x}{-\frac{\sqrt{d} h}{\sqrt{e}}-\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}-x^2} \, dx,x,\sqrt{h x}\right )}{3 d^{3/4} h^{5/2}}-\frac{\left (\sqrt{2} b e^{3/4} f p\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h}}{\sqrt [4]{e}}-2 x}{-\frac{\sqrt{d} h}{\sqrt{e}}+\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}-x^2} \, dx,x,\sqrt{h x}\right )}{3 d^{3/4} h^{5/2}}+\frac{\left (\sqrt{2} b \sqrt [4]{e} g p\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h}}{\sqrt [4]{e}}+2 x}{-\frac{\sqrt{d} h}{\sqrt{e}}-\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}-x^2} \, dx,x,\sqrt{h x}\right )}{\sqrt [4]{d} h^{5/2}}+\frac{\left (\sqrt{2} b \sqrt [4]{e} g p\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h}}{\sqrt [4]{e}}-2 x}{-\frac{\sqrt{d} h}{\sqrt{e}}+\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}-x^2} \, dx,x,\sqrt{h x}\right )}{\sqrt [4]{d} h^{5/2}}+\frac{\left (2 b \sqrt{e} f p\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{d} h}{\sqrt{e}}-\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}+x^2} \, dx,x,\sqrt{h x}\right )}{3 \sqrt{d} h^2}+\frac{\left (2 b \sqrt{e} f p\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{d} h}{\sqrt{e}}+\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}+x^2} \, dx,x,\sqrt{h x}\right )}{3 \sqrt{d} h^2}+\frac{(2 b g p) \operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{d} h}{\sqrt{e}}-\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}+x^2} \, dx,x,\sqrt{h x}\right )}{h^2}+\frac{(2 b g p) \operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{d} h}{\sqrt{e}}+\frac{\sqrt{2} \sqrt [4]{d} \sqrt{h} x}{\sqrt [4]{e}}+x^2} \, dx,x,\sqrt{h x}\right )}{h^2}\\ &=-\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h (h x)^{3/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{h^2 \sqrt{h x}}-\frac{\sqrt{2} b e^{3/4} f p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{3 d^{3/4} h^{5/2}}+\frac{\sqrt{2} b \sqrt [4]{e} g p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{\sqrt [4]{d} h^{5/2}}+\frac{\sqrt{2} b e^{3/4} f p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x+\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{3 d^{3/4} h^{5/2}}-\frac{\sqrt{2} b \sqrt [4]{e} g p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x+\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{\sqrt [4]{d} h^{5/2}}+\frac{\left (2 \sqrt{2} b e^{3/4} f p\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{3 d^{3/4} h^{5/2}}-\frac{\left (2 \sqrt{2} b e^{3/4} f p\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{3 d^{3/4} h^{5/2}}+\frac{\left (2 \sqrt{2} b \sqrt [4]{e} g p\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{\sqrt [4]{d} h^{5/2}}-\frac{\left (2 \sqrt{2} b \sqrt [4]{e} g p\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{\sqrt [4]{d} h^{5/2}}\\ &=-\frac{2 \sqrt{2} b e^{3/4} f p \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{3 d^{3/4} h^{5/2}}-\frac{2 \sqrt{2} b \sqrt [4]{e} g p \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{\sqrt [4]{d} h^{5/2}}+\frac{2 \sqrt{2} b e^{3/4} f p \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{3 d^{3/4} h^{5/2}}+\frac{2 \sqrt{2} b \sqrt [4]{e} g p \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{e} \sqrt{h x}}{\sqrt [4]{d} \sqrt{h}}\right )}{\sqrt [4]{d} h^{5/2}}-\frac{2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h (h x)^{3/2}}-\frac{2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{h^2 \sqrt{h x}}-\frac{\sqrt{2} b e^{3/4} f p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{3 d^{3/4} h^{5/2}}+\frac{\sqrt{2} b \sqrt [4]{e} g p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{\sqrt [4]{d} h^{5/2}}+\frac{\sqrt{2} b e^{3/4} f p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x+\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{3 d^{3/4} h^{5/2}}-\frac{\sqrt{2} b \sqrt [4]{e} g p \log \left (\sqrt{d} \sqrt{h}+\sqrt{e} \sqrt{h} x+\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{h x}\right )}{\sqrt [4]{d} h^{5/2}}\\ \end{align*}
Mathematica [A] time = 0.433418, size = 271, normalized size = 0.46 \[ \frac{2 x^{5/2} \left (-\frac{f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 x^{3/2}}-\frac{g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{\sqrt{x}}-\frac{b e^{3/4} f p \left (\log \left (-\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{x}+\sqrt{d}+\sqrt{e} x\right )-\log \left (\sqrt{2} \sqrt [4]{d} \sqrt [4]{e} \sqrt{x}+\sqrt{d}+\sqrt{e} x\right )+2 \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{e} \sqrt{x}}{\sqrt [4]{d}}\right )-2 \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{e} \sqrt{x}}{\sqrt [4]{d}}+1\right )\right )}{3 \sqrt{2} d^{3/4}}+\frac{2 b \sqrt [4]{e} g p \left (\tan ^{-1}\left (\frac{\sqrt [4]{e} \sqrt{x}}{\sqrt [4]{-d}}\right )+\tanh ^{-1}\left (\frac{d \sqrt [4]{e} \sqrt{x}}{(-d)^{5/4}}\right )\right )}{\sqrt [4]{-d}}\right )}{(h x)^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 1.139, size = 0, normalized size = 0. \begin{align*} \int{ \left ( gx+f \right ) \left ( a+b\ln \left ( c \left ( e{x}^{2}+d \right ) ^{p} \right ) \right ) \left ( hx \right ) ^{-{\frac{5}{2}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.95346, size = 2557, normalized size = 4.35 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.65191, size = 599, normalized size = 1.02 \begin{align*} \frac{\frac{2 \,{\left (\sqrt{2} \left (d h^{2}\right )^{\frac{1}{4}} b f h p e^{\frac{11}{4}} + 3 \, \sqrt{2} \left (d h^{2}\right )^{\frac{3}{4}} b g p e^{\frac{9}{4}}\right )} \arctan \left (\frac{\sqrt{2}{\left (\sqrt{2} \left (d h^{2}\right )^{\frac{1}{4}} e^{\left (-\frac{1}{4}\right )} + 2 \, \sqrt{h x}\right )} e^{\frac{1}{4}}}{2 \, \left (d h^{2}\right )^{\frac{1}{4}}}\right ) e^{\left (-2\right )}}{d h^{2}} + \frac{2 \,{\left (\sqrt{2} \left (d h^{2}\right )^{\frac{1}{4}} b f h p e^{\frac{11}{4}} + 3 \, \sqrt{2} \left (d h^{2}\right )^{\frac{3}{4}} b g p e^{\frac{9}{4}}\right )} \arctan \left (-\frac{\sqrt{2}{\left (\sqrt{2} \left (d h^{2}\right )^{\frac{1}{4}} e^{\left (-\frac{1}{4}\right )} - 2 \, \sqrt{h x}\right )} e^{\frac{1}{4}}}{2 \, \left (d h^{2}\right )^{\frac{1}{4}}}\right ) e^{\left (-2\right )}}{d h^{2}} + \frac{{\left (\sqrt{2} \left (d h^{2}\right )^{\frac{1}{4}} b f h p e^{\frac{11}{4}} - 3 \, \sqrt{2} \left (d h^{2}\right )^{\frac{3}{4}} b g p e^{\frac{9}{4}}\right )} e^{\left (-2\right )} \log \left (\sqrt{2} \left (d h^{2}\right )^{\frac{1}{4}} \sqrt{h x} e^{\left (-\frac{1}{4}\right )} + h x + \sqrt{d h^{2}} e^{\left (-\frac{1}{2}\right )}\right )}{d h^{2}} - \frac{{\left (\sqrt{2} \left (d h^{2}\right )^{\frac{1}{4}} b f h p e^{\frac{11}{4}} - 3 \, \sqrt{2} \left (d h^{2}\right )^{\frac{3}{4}} b g p e^{\frac{9}{4}}\right )} e^{\left (-2\right )} \log \left (-\sqrt{2} \left (d h^{2}\right )^{\frac{1}{4}} \sqrt{h x} e^{\left (-\frac{1}{4}\right )} + h x + \sqrt{d h^{2}} e^{\left (-\frac{1}{2}\right )}\right )}{d h^{2}}}{3 \, h^{2}} - \frac{2 \,{\left (3 \, b g h^{2} p x \log \left (h^{2} x^{2} e + d h^{2}\right ) - 3 \, b g h^{2} p x \log \left (h^{2}\right ) + b f h^{2} p \log \left (h^{2} x^{2} e + d h^{2}\right ) - b f h^{2} p \log \left (h^{2}\right ) + 3 \, b g h^{2} x \log \left (c\right ) + 3 \, a g h^{2} x + b f h^{2} \log \left (c\right ) + a f h^{2}\right )}}{3 \, \sqrt{h x} h^{4} x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]